package com.hairline.hairlinemarket.service.impl;

import com.hairline.hairlinemarket.bean.MarketIssue;
import com.hairline.hairlinemarket.bean.MarketIssueExample;
import com.hairline.hairlinemarket.mapper.MarketIssueMapper;
import com.hairline.hairlinemarket.service.IssueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:杨小凯
 * Date:2023-04-21 7:22
 * Description:<描述>
 */
@Service
public class IssueServiceImpl implements IssueService {
    @Autowired
    private MarketIssueMapper issueMapper;
    @Override
    public List queryCommon() {
        List<MarketIssue> marketIssues = issueMapper.selectByExample(new MarketIssueExample());
        return marketIssues;
    }
}
